package com.freight.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.freight.core.base.FreightBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "base_platform_rules")
@TableName("base_platform_rules")
@ApiModel(value = "法律条款与平台规则表")
public class PlatformRules extends FreightBaseEntity {


    @ApiModelProperty(value = "内容标题")
    private String title;

    @ApiModelProperty(value = "请求地址")
    private String rulesPath;

    @ApiModelProperty(value = "文件分类 1司机 2货主")
    private String rulesType;

}
